/**
  * The assortment of punches available to the player
  *
  * @author "Brian MacCarthy";
  * @created "2007-03-04 Brian MacCarthy";
  * @revised "$Date: 2007-03-06 19:11:00 $"; 
  */

package exfist;

public class Punches extends Moves
{
	/**
	 * TODO: For each of these check if contact is made,then check if its blocked,then calculate damage if applicable
	 *
	 */
	protected int strongPunch()
	{
		System.out.println("Player 1 throws a haymaker");
		if(didCollide()==true)
		{
			if(isBlocked(0)==false)
			{
				return 100;
			}
		}
		return 0;
	}
	protected int medPunch()
	{
		System.out.println("Player 1 punches");
		if(didCollide()==true)
		{
			if(isBlocked(0)==false)
			{
				return 100;
			}
		}
		return 0;
	}
	protected int weakPunch()
	{
		System.out.println("Player 1 jabs");
		if(didCollide()==true)
		{
			if(isBlocked(0)==false)
			{
				return 100;
			}
		}
		return 0;
	}
	/**
	 * specialised punches,
	 * jumpPunch is in air only - Standing Block only
	 * uppercut is a punch done from a ducked position
	 *
	 */
	private void jumpPunch()
	{
		assert false;
	}
	private void uppercut()
	{
		assert false;
	}
	
}
